package com.tanguy.user.ui.me.activity.account.join

import com.tanguy.user.R
import com.tanguy.user.base.ImmersionTitleActivity
import com.tanguy.user.utlis.extend.click
import org.jetbrains.anko.startActivity

/**
 * Created by dab on 2017/10/10 0010 14:57
 */
class JoinActivity : ImmersionTitleActivity() {
    override fun setContentViewRes(): Int = R.layout.activity_join
    override fun initView() {
        super.initView()
        title = "我要加盟"
        click(R.id.layout_driver) { startActivity<DriverJoinActivity>() }//司机加盟
        click(R.id.layout_hotel) { startActivity<HotelJoinActivity>() }//酒店加盟
    }
}